home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_2
/
crcst309.lha
/
CarCosts
/
Rexx
/
test2.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-05-31
|
573b
|
21 lines
/* Test Carcost's ARexx-Port */
/* Basename is ALWAYS >CARCOSTS<, even if you call the programm */
/* >AUTOKOSTEN<... */
address "CARCOSTS.1"
options results
/* Example how to create a new database via ARexx */
setstart 'DATE="1.1.95" STARTKM=10001 CAR="ab cd 123" DATEFORMAT=4'
say "Start set"
if (rc == 0) then do
say "Add entries"
setfuelentry "1.2.95 10100 9.3 12.34"
setfuelentry "2.3.95 10300 19.3 32.34 UPDATE"
setsupportentry '1.1.95 "New Car" "Very nice one" 1234.56 UPDATE'
end
else do
say "Do not add entries"
end